﻿using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine;

public enum ShaHaoType
{
    /// <summary>
    /// 单注杀号
    /// </summary>
    SingleNote,

    /// <summary>
    /// 复式杀号
    /// </summary>
    Duplex,

    /// <summary>
    /// 单号 
    /// </summary>
    SingNum,

    /// <summary>
    /// 杀多号
    /// </summary>
    MutifySum,
}

public enum ShaStatues
{
    Idle,
    Running,
    EndSha,
}

public abstract class algorithmBase
{
    protected List<List<int>> baseAllData;
    public int ThreadMaxCount = 10;
    public int ioThreadCount = 10;
    public System.DateTime start_time;

    protected object locks;

    protected List<List<int>> BaseAllData
    {
        get
        {
            if (baseAllData == null)
            {
                Init();
            }

            return baseAllData;
        }
    }

    public virtual void Init()
    {
    }

    public virtual void StartShaHao(DoubleInputArgs argsValue, List<List<int>> out_data)
    {
    }
}